package com.kehutong.crm.message.entity;

import java.sql.Timestamp;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;

@Table(value="t_message_user_expand", comment="用户扩展表", multi=true)
public class UserExpand extends Entity {

    private static final long serialVersionUID = -7002587039645266526L;

    protected UserExpand(String id) {
        super(id);
    }

    @Column(comment = "上一次消息更新时间")
    private Timestamp lastTime;

    @Column(comment = "是否用户")
    private boolean userCreate;

    public Timestamp getLastTime() {
        return lastTime;
    }

    public void setLastTime(Timestamp lastTime) {
        this.lastTime = lastTime;
    }

    public boolean isUserCreate() {
        return userCreate;
    }

    public void setUserCreate(boolean userCreate) {
        this.userCreate = userCreate;
    }
}
